from django.conf.urls import patterns, include, url
from django.conf import settings
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'TuringClass.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    # url(r'^', 'app_TuringClass.views.Home_TuringClass'),
    url(r'^', include('app_TuringClass.urls', namespace = 'app_TuringClass')),
    url(r'^admin/', include(admin.site.urls)),
    # Add a patterns so that we can directly open the html pages without the prefix TuringClass/
    # author: Xiangyi
    # date: 2016/11/15 
    # delete by houchaoqun 2016 11 18
    # url(r'^(?P<page_name>[A-Za-z]+).html', include('app_TuringClass.urls', namespace = 'app_TuringClass')),
    # url(r'^QuestionDetails/', include('app_TuringClass.urls', namespace = 'app_TuringClass')),
    # url(r'^TuringClass/', include('app_TuringClass.urls', namespace = 'app_TuringClass')),
    url(r'^Accounts/', include('app_accounts.urls', namespace = 'app_Accounts')),
    url(r'^OnlineExam/', include('app_OnlineExam.urls', namespace = 'app_OnlineExam')),
    url(r'^CheckIn/', include('app_CheckIn.urls', namespace = 'app_CheckIn')),
)
